import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    num: 1
  },
  mutations: {
    increase(state){
      state.num++
    },
    decrease(state){
      state.num--
    },
  }
})

export default store
